using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Skeletons
{
	public partial class FormInsertNewFrames : Form
	{
		public FormInsertNewFrames()
		{
			InitializeComponent();
		}

        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);
            m_nudNumFrames.Focus();
            m_nudNumFrames.Select(0, 10);
        }
		public int FrameCount()
		{
			return (int)m_nudNumFrames.Value;
		}

		private void m_btnAnnulla_Click(object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.Cancel;
			this.Hide();
		}

		private void m_btnOK_Click(object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.OK;
			this.Hide();
		}
	}
}